Skip to main content

capsLockKey

Type​

function

Summary​

Returns the state of the Caps Lock key.

Syntax​

the capsLockKey
capsLockKey()

Description​

Use the capsLockKey function to check whether the Caps Lock key is locked down.

Examples​

the capsLockKey
if the capsLockKey is down then exit repeat

Value​

NameTypeDescription

return

The capsLockKey function returns down if the key is locked down and up if it's not.

function: keysDown

glossary: return

Compatibility and Support​

Introduced

LiveCode 1.0

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?